.TH std::ios_base::operator= 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::ios_base::operator= \- std::ios_base::operator=

.SH Synopsis
   private:                                          \fI(until C++11)\fP
   ios_base& operator=( const ios_base& );
   public:                                           \fI(since C++11)\fP
   ios_base& operator=( const ios_base& ) = delete;

   The copy assignment operator is
   private
   \fI(until C++11)\fP
   deleted
   \fI(since C++11)\fP: streams are not copy-assignable.

   Defect reports

   The following behavior-changing defect reports were applied retroactively to
   previously published C++ standards.

     DR   Applied to             Behavior as published               Correct behavior
   LWG 50 C++98      the copy assignment operator was not          specified as private
                     specified
